const order = {
    state: {
      videoListPage: 1,
      name: ''
    },
    mutations: {
      SAVE_VIDEO_PAGE: (state, page) => {
        state.videoListPage = page
      },
      SAVE_VIDEO_NAME: (state, name) => {
        state.name = name
      },
     
    },
    actions: {
      saveVideoListPage({
        commit
      }, page) {
        commit('SAVE_VIDEO_PAGE', page)
      },
      saveVideoName({
        commit
      }, name) {
        commit('SAVE_VIDEO_NAME', name)
      },
    }
  }
  
  export default order